package com.dll.pybig.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "student")

public class StuScore {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("stuNum")
    private Long stuNum;
    @TableField("stuName")
    private String stuName;
    @TableField("signupTimes")
    private Long signupTimes;
    @TableField("avgSeatNum")
    private Double avgSeatNum;
    @TableField("signUpScore")
    private Double signUpScore;
    @TableField("askScore")
    private Double askScore;
    @TableField("totalScore")
    private Double totalScore;
    @TableLogic
    private Integer deleted;

    public StuScore(Long stuNum, String stuName, Long signupTimes, Double avgSeatNum, Double signUpScore, Double askScore, Double totalScore) {
        this.stuNum = stuNum;
        this.stuName = stuName;
        this.signupTimes = signupTimes;
        this.avgSeatNum = avgSeatNum;
        this.signUpScore = signUpScore;
        this.askScore = askScore;
        this.totalScore = totalScore;
    }
}
